<?php

!defined('SYSTEM_INCLUDED') && exit('Access Denied');

SysBase::import('System.Validators.PatternValidator');

/*只允许数字和字母形式*/

Class NumberAndLetterValidator extends PatternValidator{
	
	public $pattern='/^[a-zA-Z0-9]+$/';
	
	public $errorMsg = 'Pattern Validate Error! Only Numbers and Letters are allowed!'; 

}
